
import { post } from '@/utils/ajax'

// 查询应用列表
export function listApp (query) {
  return post('/uni/category/info/selectByCateName', query);
}

// 查询应用详细
export function getApp (appKey) {
  return post('/uni/category/info/selectById', { 'id': appKey });
}

// 新增应用配置
export function addApp (data) {
  return post('/uni/category/info/insert', data);
}

// 修改应用配置
export function updateApp (data) {
  return post('/uni/category/info/updateRowNotNullById', data);
}

// 删除应用配置
export function delApp (appKeys) {
  return post('/uni/category/info/deleteById', { 'id': appKeys });
}

